package org.jsbd.boss.dao.impl;

import org.jsbd.boss.dao.IApkSysverFilterConfigDao;
import org.jsbd.boss.domian.channel.ApkSysverFilterConfig;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @desc
 * @Date 2018/9/25 15:53
 * @Author xupengcheng [xupengcheng@zhexinit.com]
 */
//@Service
public class ApkSysverFilterConfigDaoImpl extends CrackBaseDao implements IApkSysverFilterConfigDao {
    @Override
    public int delete(Integer id) {
        return super.delete("qy_apk_sysver_filter_config.delete", id);
    }

    @Override
    public void insert(ApkSysverFilterConfig record) {
        super.insert("qy_apk_sysver_filter_config.insert", record);
    }

    @Override
    public ApkSysverFilterConfig selectConfig(Integer id) {
        return (ApkSysverFilterConfig) super.queryForObject("qy_apk_sysver_filter_config.selectConfig", id);
    }

    @Override
    public List<ApkSysverFilterConfig> selectList(ApkSysverFilterConfig record) {
        return super.queryForList("qy_apk_sysver_filter_config.selectList", record);
    }

    @Override
    public int update(ApkSysverFilterConfig record) {
        return super.update("qy_apk_sysver_filter_config.update", record);
    }

}
